Skip to content

create_custom_vsan_esa_hcl_json.ps1 - ensure hex values have leading zeros#133

Open
adarobin wants to merge 1 commit intolamw:masterfrom
adarobin:fix_esa_hcl
Open

create_custom_vsan_esa_hcl_json.ps1 - ensure hex values have leading zeros#133
adarobin wants to merge 1 commit intolamw:masterfrom
adarobin:fix_esa_hcl

Conversation

@adarobin
Copy link
Contributor

This will ensure all of the hex values in the generated HCL will be 4 hex digits long (i.e. have leading 0's).

For example, on some hardware in my lab the script originally generated this:

        "did": "953",
        "vid": "8086",
        "ssid": "370b",
        "svid": "108e",

when it should have been:

        "did": "0953",
        "vid": "8086",
        "ssid": "370b",
        "svid": "108e",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant